<%@include file="/WEB-INF/common/taglibs.jsp"%>
<script type="text/javascript" src="${ctx}/resources/js/datatable-query.js"></script>
 
 
<div class="row-fluid">

	<div class="span12">

		<div class="page-header">
			<h4>Option </h4>
		</div>

<form class="form-horizontal seperator" method="post">
<!--name --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="name">Name :</label><input class="span4" id="name" name="name"   type="text" value="${entity.name}" /></div></div></div>
<!--optionType --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3">OptionType :</label><div class="span4 controls"><select name="optionType"><c:if test="${not empty options}"><c:forEach var="single" items="${options}"><option value="${single}"${(single == entity.optionType)?'selected':'' }>${single}</option></c:forEach></c:if></select></div></div></div></div>
<!--value --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="value">Value :</label><input class="span4" id="value" name="value"   type="text" value="${entity.value}" /></div></div></div>
<!--required --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="required">Required :</label><div class="left marginT5 marginR10"><div class="radio" id="uniform-required1"><span class="<c:if test="${entity.required }">checked</c:if>"><input type="radio" name="required" id="required1" value="true" <c:if test="${entity.required}">checked="checked"</c:if> style="opacity: 0;"></span></div>True</div><div class="left marginT5 marginR10"><div class="radio" id="uniform-required2"><span class="<c:if test="${!entity.required}">checked</c:if>"><input type="radio" <c:if test="${!entity.required}">checked="checked"</c:if>name="required" id="required2" value="false" style="opacity: 0;"></span></div>False</div></div></div></div>
<!--orderRank --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="orderRank">OrderRank :</label><input class="span4" id="orderRank" name="orderRank"   type="text" value="${entity.orderRank}" /></div></div></div>

 

 


 



 <div class="form-row row-fluid">
				<div class="span12">
					<div class="row-fluid">
						<div class="form-actions">
							<div class="span3"></div>
							<div class="span4 controls">
								<button type="submit" class="btn btn-info marginR10">Save
									changes</button>
								<button class="btn btn-danger">Cancel</button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</form>

	</div>
	<!-- End .span12 -->
</div>
<div class="row-fluid">
<c:if test="${entity ne null}">
	<c:if test="${'SELECT' eq entity.optionType}">
		<%@ include file="sub/selector.jsp"%>
					 
	</c:if>
 </c:if>
</div>


<!-- End .row-fluid --> 

